Try to fix intermittent test failures
authorMatt Brubeck <mbrubeck@limpet.net>
Sat, 13 Sep 2014 04:49:35 +0000 (21:49 -0700)
committerMatt Brubeck <mbrubeck@limpet.net>
Sat, 13 Sep 2014 15:27:15 +0000 (08:27 -0700)
commit2e0ba67704f4260b9c1c87735868fc570ca6ce31
tree37ff711cc6abee3e8a654acea7a11437742220f8
parent287abd87d2251d7564016aeea6c82c9a6de74c27
Try to fix intermittent test failures

Travis is showing intermittent failures in
`test_cargo_compile_path_deps::path_dep_build_cmd` and
`test_cargo_compile_git_deps::git_dep_build_cmd` (added in #561 and #563).

I haven't managed to reproduce these failures locally, but I suspect the tests
are timing-sensitive.  This tries to guarantee that the timestamps during the
two operations can't be the same.
tests/test_cargo_compile_git_deps.rs
tests/test_cargo_compile_path_deps.rs